SftTree/OCX 7.0

SftTreeItems.DropHighlightColor Property

Softel vdm, Inc.

Defines the color used to display the drop target item of a drag & drop operation.

Syntax       

Get

VB.NET

Clr = object.DropHighlightColor  As UIntegerLanguage-specific information

VB

Clr = object.DropHighlightColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.DropHighlightColor;

VC++

OLE_COLOR Clr = object->DropHighlightColor;
OLE_COLOR Clr = object->GetDropHighlightColor();

C

HRESULT object->get_DropHighlightColor(OLE_COLOR* Clr);

Delphi

Clr := object.DropHighlightColor  : Cardinal;

Put

VB.NET

object.DropHighlightColor = Clr  As UIntegerLanguage-specific information

VB

object.DropHighlightColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.DropHighlightColor = Clr;

VC++

OLE_COLOR object->DropHighlightColor = Clr;
void object->PutDropHighlightColor(OLE_COLOR Clr);

C

HRESULT object->put_DropHighlightColor(OLE_COLOR Clr);

Delphi

object.DropHighlightColor := Clr  : Cardinal;

object

A SftTreeItems object.

Clr

Defines the color used to display the drop target item of a drag & drop operation.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The DropHighlightColor property defines the color used to display the drop target item of a drag & drop operation.

The Items.SelectStyle and Items.NoFocusStyle properties work in conjunction with the Items.OutlineStyle property to determine the exact appearance of drop target items. The highlighted portion of a drop target is rendered using the outline style defined by the Items.OutlineStyle property.

The drop target is displayed based on the Items.DropHighlightStyle and Items.DropHighlight properties.

The DropHighlightColor property is only used if the Items.OutlineStyle property is set to OutlineStyleSftTreeRect. Otherwise, it is ignored and the Items.DropTargetInnerBorderColor, Items.DropTargetInnerFill1, Items.DropTargetInnerFill2, Items.DropTargetOutlineBorderColor properties are used instead.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com